home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 33
/
Amiga Format AFCD33 (Issue 117, Dec 1998).iso
/
+system+
/
tools
/
virus
/
virus_checkerii
/
arexx
/
onlinecheck.rexx
next >
Wrap
OS/2 REXX Batch file
|
1998-09-07
|
775b
|
36 lines
/* Notifywatch example
Simple example which shows how you can easily have VC check
recent uploaded files. This script offcourse has to be expanded
if you want more then VC just telling you what has happened.
Another drawback is also that it stops as soon as it has received
one notify change.
Maybe someone likes to code this in a better way, I am not an Arexx
coder you know.
*/
options results
address 'Virus_CheckerII' 'NOTIFYWATCH Pinkie'
if VCHECK.0.0 = 0 then do
say 'No viruses found in scan'
call stopnotify
exit
end
say 'Viruses found: ='VCHECK.0.0
do x=1 to VCHECK.0.0
say 'Filename was "'VCHECK.x.1'" and virus was "'VCHECK.x.2'"'
end
call stopnotify
exit
stopnotify:
address 'Virus_CheckerII' 'STOPNOTIFYWATCH Pinkie'
return